package org.web.accesscontrollist.server.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.web.accesscontrollist.server.domain.query.QueryAclResourceType;
import org.web.accesscontrollist.server.domain.AclResourceTypeDO;

@Mapper
public interface AclResourceTypeDAO {

	AclResourceTypeDO selectAclResourceTypeByAclResourceTypeId(Integer aclResourceTypeId);

	List< AclResourceTypeDO > selectAclResourceTypeList(QueryAclResourceType queryAclResourceType);

	Integer countAclResourceTypeList(QueryAclResourceType queryAclResourceType);

	int insertAclResourceType(AclResourceTypeDO aclResourceTypeDO);

	int updateAclResourceTypeByAclResourceTypeId(AclResourceTypeDO aclResourceTypeDO);
	
	List<String> selectDistinctList(QueryAclResourceType queryAclResourceType);

}
